QT       += core gui
QT       += charts
QT += datavisualization
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    EctopicPro/cubicspline.cpp \
    EctopicPro/outlierdetector.cpp \
    EctopicPro/replaceoutliers.cpp \
    HRVCompute/FFTImplementationCallback.cpp \
    HRVCompute/arburg.cpp \
    HRVCompute/blockedSummation.cpp \
    HRVCompute/colon.cpp \
    HRVCompute/combineVectorElements.cpp \
    HRVCompute/computeperiodogram.cpp \
    HRVCompute/computepsd.cpp \
    HRVCompute/datawrap.cpp \
    HRVCompute/detrend.cpp \
    HRVCompute/diff.cpp \
    HRVCompute/div.cpp \
    HRVCompute/eml_mtimes_helper.cpp \
    HRVCompute/fft.cpp \
    HRVCompute/find.cpp \
    HRVCompute/freqDomainHRV.cpp \
    HRVCompute/freqDomainHRV_data.cpp \
    HRVCompute/freqDomainHRV_initialize.cpp \
    HRVCompute/freqDomainHRV_rtwutil.cpp \
    HRVCompute/freqDomainHRV_terminate.cpp \
    HRVCompute/freqz.cpp \
    HRVCompute/hamming.cpp \
    HRVCompute/hist.cpp \
    HRVCompute/ifWhileCond.cpp \
    HRVCompute/ifft.cpp \
    HRVCompute/interp1.cpp \
    HRVCompute/ismember.cpp \
    HRVCompute/ixfun.cpp \
    HRVCompute/linspace.cpp \
    HRVCompute/lomb2.cpp \
    HRVCompute/mean.cpp \
    HRVCompute/median.cpp \
    HRVCompute/minOrMax.cpp \
    HRVCompute/nonlinearHRV.cpp \
    HRVCompute/pburg.cpp \
    HRVCompute/poincareHRV.cpp \
    HRVCompute/polyfit.cpp \
    HRVCompute/polyval.cpp \
    HRVCompute/ppval.cpp \
    HRVCompute/psdcenterdc.cpp \
    HRVCompute/psdfreqvec.cpp \
    HRVCompute/psdoptions.cpp \
    HRVCompute/pwelch.cpp \
    HRVCompute/qrsolve.cpp \
    HRVCompute/quickselect.cpp \
    HRVCompute/rtGetInf.cpp \
    HRVCompute/rtGetNaN.cpp \
    HRVCompute/rt_nonfinite.cpp \
    HRVCompute/spline.cpp \
    HRVCompute/std.cpp \
    HRVCompute/strcmp.cpp \
    HRVCompute/sum.cpp \
    HRVCompute/timeDomainHRV.cpp \
    HRVCompute/timeFreqHRV.cpp \
    HRVCompute/trapz.cpp \
    HRVCompute/unsafeSxfun.cpp \
    HRVCompute/validatestring.cpp \
    HRVCompute/var.cpp \
    HRVCompute/wavelet.cpp \
    HRVCompute/welch.cpp \
    HRVCompute/welchparse.cpp \
    HRVCompute/xgeqp3.cpp \
    HRVCompute/xnrm2.cpp \
    QChartViews/surfacegraphmodifier.cpp \
    Utils/arrayoperation.cpp \
    Utils/dataconvert.cpp \
    Utils/histogram.cpp \
    Utils/lfhfplot.cpp \
    Utils/psdcurvesdrawutil.cpp \
    Utils/readfiles.cpp \
    Utils/singlecurvedraw.cpp \
    Utils/spectrogramplot.cpp \
    Utils/tfdataconvert.cpp \
    Utils/timefreqspectrogramplot.cpp \
    main.cpp \
    hrvana.cpp \
    mentalPressure/ComputeHRV.cpp \
    mentalPressure/HRVIndex.cpp \
    mentalPressure/mentpressurecomp.cpp \
    qcustomplot.cpp

HEADERS += \
    EctopicPro/CubicSpline.h \
    EctopicPro/outlierdetector.h \
    EctopicPro/replaceoutliers.h \
    HRVCompute/FFTImplementationCallback.h \
    HRVCompute/arburg.h \
    HRVCompute/blockedSummation.h \
    HRVCompute/coder_array.h \
    HRVCompute/colon.h \
    HRVCompute/combineVectorElements.h \
    HRVCompute/computeperiodogram.h \
    HRVCompute/computepsd.h \
    HRVCompute/datawrap.h \
    HRVCompute/detrend.h \
    HRVCompute/diff.h \
    HRVCompute/div.h \
    HRVCompute/eml_mtimes_helper.h \
    HRVCompute/fft.h \
    HRVCompute/find.h \
    HRVCompute/freqDomainHRV.h \
    HRVCompute/freqDomainHRV_data.h \
    HRVCompute/freqDomainHRV_initialize.h \
    HRVCompute/freqDomainHRV_internal_types.h \
    HRVCompute/freqDomainHRV_rtwutil.h \
    HRVCompute/freqDomainHRV_terminate.h \
    HRVCompute/freqDomainHRV_types.h \
    HRVCompute/freqz.h \
    HRVCompute/hamming.h \
    HRVCompute/hist.h \
    HRVCompute/ifWhileCond.h \
    HRVCompute/ifft.h \
    HRVCompute/interp1.h \
    HRVCompute/ismember.h \
    HRVCompute/ixfun.h \
    HRVCompute/linspace.h \
    HRVCompute/lomb2.h \
    HRVCompute/mean.h \
    HRVCompute/median.h \
    HRVCompute/minOrMax.h \
    HRVCompute/nonlinearHRV.h \
    HRVCompute/pburg.h \
    HRVCompute/poincareHRV.h \
    HRVCompute/polyfit.h \
    HRVCompute/polyval.h \
    HRVCompute/ppval.h \
    HRVCompute/psdcenterdc.h \
    HRVCompute/psdfreqvec.h \
    HRVCompute/psdoptions.h \
    HRVCompute/pwelch.h \
    HRVCompute/qrsolve.h \
    HRVCompute/quickselect.h \
    HRVCompute/rtGetInf.h \
    HRVCompute/rtGetNaN.h \
    HRVCompute/rt_defines.h \
    HRVCompute/rt_nonfinite.h \
    HRVCompute/rtwtypes.h \
    HRVCompute/spline.h \
    HRVCompute/std.h \
    HRVCompute/strcmp.h \
    HRVCompute/sum.h \
    HRVCompute/timeDomainHRV.h \
    HRVCompute/timeFreqHRV.h \
    HRVCompute/tmwtypes.h \
    HRVCompute/trapz.h \
    HRVCompute/unsafeSxfun.h \
    HRVCompute/validatestring.h \
    HRVCompute/var.h \
    HRVCompute/wavelet.h \
    HRVCompute/welch.h \
    HRVCompute/welchparse.h \
    HRVCompute/xgeqp3.h \
    HRVCompute/xnrm2.h \
    QChartViews/surfacegraphmodifier.h \
    Utils/arrayoperation.h \
    Utils/dataconvert.h \
    Utils/histogram.h \
    Utils/lfhfplot.h \
    Utils/psdcurvesdrawutil.h \
    Utils/readfiles.h \
    Utils/singlecurvedraw.h \
    Utils/spectrogramplot.h \
    Utils/tfdataconvert.h \
    Utils/timefreqspectrogramplot.h \
    hrvana.h \
    mentalPressure/ComputeHRV.h \
    mentalPressure/HRVIndex.h \
    mentalPressure/mentpressurecomp.h \
    qcustomplot.h

FORMS += \
    hrvana.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    resources.qrc
